package com.example.userserver.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "CityParams", description = "城市入参")
public class CityInfoParams {
    @ApiModelProperty(value="主键", example = "id", required = true)
    private String id;
    @ApiModelProperty(value = "城市名称", example = "深圳", required = true)
    @NotBlank(message = "城市名称不能为空")
    private String cityName;

}
